-
Notifications
You must be signed in to change notification settings - Fork 18.4k
all: replace calls to errors.As with errors.AsType #75698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR (HEAD: 8aaaa36) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/708495. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from jub0bs: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from Jake Bailey: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-10-01T20:42:58Z","revision":"e3014fed003bfcc2d68e07c4fcca8a5dc83b5d40"} Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from Jake Bailey: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from Go LUCI: Patch Set 1: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from jub0bs: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
Message from Alan Donovan: Patch Set 1: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/708495. |
This change replaces most occurrences (in code as well as in comments) of errors.As with errors.AsType. It leaves the errors package and vendored code untouched. Change-Id: I3bde73f318a0b408bdb8f5a251494af15a13118a GitHub-Last-Rev: 8aaaa36 GitHub-Pull-Request: #75698 Reviewed-on: https://go-review.googlesource.com/c/go/+/708495 Auto-Submit: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Reviewed-by: Michael Pratt <[email protected]>
This PR is being closed because golang.org/cl/708495 has been merged. |
This change replaces most occurrences (in code as well as in comments) of
errors.As with errors.AsType. It leaves the errors package and vendored
code untouched.